@import "../../../static/scss/variables";
.react-autosuggest-container {
  position: relative;
  .Select-loading-zone {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -10px;
  }
  .react-autosuggest-input-zone-loading {
    input {
      padding-right: 30px;
    }
  }
}
.react-autosuggest-suggestions-matched {
	color: red;
}
.react-autosuggest-suggestions-list {
	padding: 0;
	li {
		padding: 8px 10px;;
		list-style-type: none;
	}
}
.react-autosuggest-input {
  width: 240px;
  height: 30px;
  padding: 10px 20px;
  font-family: Helvetica, sans-serif;
  font-weight: 300;
  font-size: 16px;
  border: 1px solid #aaa;
  border-radius: 4px;
}

.react-autosuggest-input-focused {
  outline: none;
}

.react-autosuggest-input-open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.react-autosuggest-suggestions-container {
  display: none;
}

.react-autosuggest-suggestions-container-open {
  display: block;
  position: absolute;
  width: 100%;
  border: 1px solid #23b7e5;
  border-top-width: 0;
  background-color: #fff;
  font-weight: 300;
  font-size: 16px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  z-index: 10;
  max-height: 250px;
  overflow: scroll;
}

.react-autosuggest-suggestions-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  color: #555;
}

.react-autosuggest-suggestion {
  cursor: pointer;
  padding: 10px 20px;
}

.react-autosuggest-suggestion-highlighted {
  background-color: #ebf5ff;
  /* Fallback color for IE 8 */
  background-color: rgba(0, 126, 255, 0.08);
}

.with-statistics {
  position: relative;

  .text-count {
    color: $text-muted;
    position: absolute;
    bottom: 8px;
    right:  10px;
    font-size: 12px;
    z-index: 1;
  }
}
